package com.sdms.core;

import com.sdms.core.rbac.Right;

public enum SupportedOperation {
	
	VIEW_DELIVERY (Right.R_VIEW_ITEM),
	VIEW_LIST (Right.R_VIEW_LIST),
	ADD_DELIVERY (Right.R_ADD_ITEM),
	UPDATE_DELIVERY (Right.R_UPDATE_ITEM),
	CANCEL_DELIVERY (Right.R_CANCEL_DELIVERY),
	ADD_NEW_USER (Right.R_CREATE_USER),
	REMOVE_USER(Right.R_REMOVE_USER),
	CHANGE_PREVILAGE(Right.R_CHANGE_PREVILAGE);
	
	private Right right;
	
	private SupportedOperation(Right right) {
		this.right = right;
	}
	
	public Right getRight() {
		return this.right;
	}
	

}
